package com.takeoff.iot.modbus.netty.data.factory;

import com.ruoyi.common.modbus.data.MiiData;
import com.ruoyi.common.modbus.factory.MiiDataFactory;

public class MiiClientDataFactory implements MiiDataFactory {

	@Override
	public MiiData buildData(int command, byte[] datas) {
		MiiData data = null;
//		switch (command) {
//		case MiiMessage.LOCK:
//			data = new MiiLockData(datas);
//			break;
//		default: data = new MiiInData(datas);
//			break;
//		}
		return data;
	}

}
